package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_KPI_DEPT_PERSONS")
@ApiModel(value="PcKpiDeptPersons对象", description="")
public class PcKpiDeptPersons implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    @JsonIgnore
    private String companyId;

    @ApiModelProperty(value = "部门类别")
    private String deptType;

    @ApiModelProperty(value = "部门ID")
    private String deptNo;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "日期")
    private Date ddate;

    @ApiModelProperty(value = "出勤人数")
    private BigDecimal dutyPersons;

    @JsonIgnore
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @JsonIgnore
    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @ApiModelProperty(value = "日目标")
    private BigDecimal kpiQty;
    @ApiModelProperty(value = "出勤工时")
    private BigDecimal dutyHours;

    @ApiModelProperty(value = "部门")
    private String factoryDept;

    @ApiModelProperty(value = "年目标")
    private BigDecimal ymQty;


}
